// <script src="http://localhost:8083/loginPop.js"></script>
// <script src="http://open.hxkjtest.com/poplogin/loginPop.js"></script>
// <script src="http://open.zhousongyi9999.com/poplogin/loginPop.js"></script>
(function () {
  // if (window.location.hostname !== 'localhost') {
  //   var script = document.createElement('script')
  //   script.type = 'text/javascript'
  //   if (/\.zhongyi9999\.com/.test(window.location.href)) {
  //     script.src = 'http://open.zhousongyi9999.com/poplogin/loginPop.js'
  //     document.body.appendChild(script)
  //   }
  //   if (/\.hxkjtest\.com/.test(window.location.href)) {
  //     script.src = 'http://open.hxkjtest.com/poplogin/loginPop.js'
  //     document.body.appendChild(script)
  //   }
  // }
  var script = document.createElement('script')
  script.type = 'text/javascript'
  if (/localhost/.test(window.location.href)) {
    script.src = 'http://localhost:8083/loginPop.js'
    document.body.appendChild(script)
  }
  if (/192\.168\.100\.119/.test(window.location.href)) {
    script.src = 'http://192.168.100.119:8083/loginPop.js'
    document.body.appendChild(script)
  }
  if (/\.zhongyi9999\.com/.test(window.location.href)) {
    script.src = 'https://open.zhongyi9999.com/poplogin/loginPop.js'
    document.body.appendChild(script)
  }
  if (/\.hxkjtest\.com/.test(window.location.href)) {
    script.src = 'https://open.hxkjtest.com/poplogin/loginPop.js'
    document.body.appendChild(script)
  }
})()
